export default {
  namespaced: true,
  state: {
    peopleStatus: null,
    projectId: ''
  },
  mutations: {
    UPDATE_PEOPLESTATUS(state, data) {
      state.peopleStatus = data
    },
    UPDATE_PROJECTID(state, data) {
      state.projectId = data
    },
  },

  actions: {
    //改变登录人的权限
    update_peopleStatus({ commit }, data) {
      commit('UPDATE_PEOPLESTATUS', data)
    },
    update_projectId({ commit }, data) {
      commit('UPDATE_PROJECTID', data)
    },
  }
}
